home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Together in Jesus: 1st Reconciliation Computer Fun
/
Together in Jesus - First Reconciliation - Computer Fun.iso
/
game1b.swf
/
scripts
/
frame_2
/
DoAction.as
Wrap
Text File
|
2007-11-23
|
39KB
|
1,371 lines
next17_mc._visible = false;
var soundTada = new Sound(this);
soundTada.attachSound("tada");
var soundAhh = new Sound(this);
soundAhh.attachSound("ahh");
var soundWrongslide = new Sound(this);
soundWrongslide.attachSound("wrongslide");
var soundApplause1 = new Sound(this);
soundApplause1.attachSound("applause1");
var soundApplause2 = new Sound(this);
soundApplause2.attachSound("applause2");
var soundCheering1 = new Sound(this);
soundCheering1.attachSound("cheering1");
var soundCheering2 = new Sound(this);
soundCheering2.attachSound("cheering2");
var soundTrumpet = new Sound(this);
soundTrumpet.attachSound("trumpet");
var soundCheerchime = new Sound(this);
soundCheerchime.attachSound("cheerchime");
var soundVictorychimes = new Sound(this);
soundVictorychimes.attachSound("victorychimes");
var soundBuoing = new Sound(this);
soundBuoing.attachSound("buoing");
var soundBuzzer = new Sound(this);
soundBuzzer.attachSound("buzzer");
var soundCrash1 = new Sound(this);
soundCrash1.attachSound("crash1");
var soundCrash2 = new Sound(this);
soundCrash2.attachSound("crash2");
var soundCrash3 = new Sound(this);
soundCrash3.attachSound("crash3");
var soundCrash4 = new Sound(this);
soundCrash4.attachSound("crash4");
var soundCheering2 = new Sound(this);
soundCheering2.attachSound("cheering2");
var soundDingbleep = new Sound(this);
soundDingbleep.attachSound("dingbleep");
var soundMournfultrumpet = new Sound(this);
soundMournfultrumpet.attachSound("mournfultrumpet");
var soundZaparoo = new Sound(this);
soundZaparoo.attachSound("zaparoo");
var soundSlowbomb = new Sound(this);
soundSlowbomb.attachSound("slowbomb");
var KeyListener = new Object();
Key.addListener(KeyListener);
this.deer_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.elk_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.moose_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.elk_mc.onRelease = function()
{
this.stopDrag();
};
this.moose_mc.onRelease = function()
{
this.stopDrag();
};
this.deer_mc.onRelease = function()
{
this.stopDrag();
if(this.hitTest(target1_mc) == true)
{
this._x = target1_mc._x;
this._y = target1_mc._y;
soundTada.start();
oops_guy1_mc._visible = false;
this.enabled = false;
}
else
{
soundMournfultrumpet.start();
deer_mc._y = target11_mc._y;
deer_mc._x = target11_mc._x;
}
};
this.elk_mc.onRelease = function()
{
this.stopDrag();
soundWrongslide.start();
this._x = target2_mc._x;
this._y = target2_mc._y;
};
this.moose_mc.onRelease = function()
{
this.stopDrag();
soundAhh.start();
this._x = target33_mc._x;
this._y = target33_mc._y;
};
this.next1_btn.onRelease = function()
{
if(deer_mc._y == target1_mc._y && deer_mc._x == target1_mc._x)
{
moose_mc._visible = false;
elk_mc._visible = false;
word1_mc._visible = false;
oops_guy1_mc._visible = false;
quest2_mc.swapDepths(getNextHighestDepth());
next2_mc.swapDepths(getNextHighestDepth());
Selection.setFocus(yourname_txt);
}
else
{
oops_guy1_mc.swapDepths(getNextHighestDepth());
}
};
this.next2_mc.onRelease = function()
{
if(Key.getAscii() > 64)
{
quest2_mc._visible = false;
word3_mc.swapDepths(getNextHighestDepth());
soundTrumpet.start();
quest31_mc.swapDepths(getNextHighestDepth());
quest31_mc._x = target11_mc._x;
quest31_mc._y = target11_mc._y;
quest32_mc.swapDepths(getNextHighestDepth());
quest32_mc._x = target2_mc._x;
quest32_mc._y = target2_mc._y;
quest33_mc.swapDepths(getNextHighestDepth());
quest33_mc._x = target33_mc._x;
quest33_mc._y = target33_mc._y;
oops_guy2_mc._visible = false;
boardmc.swapDepths(board2mc);
next2_mc._visible = false;
next3_mc.swapDepths(getNextHighestDepth());
}
else
{
oops_guy2_mc.swapDepths(getNextHighestDepth());
}
};
this.next3_mc.onRelease = function()
{
if(quest32_mc._y == target3_mc._y && quest32_mc._x == target3_mc._x)
{
word3_mc._visible = false;
word4_mc.swapDepths(word3_mc);
quest41_mc.swapDepths(getNextHighestDepth());
quest41_mc._x = target11_mc._x;
quest41_mc._y = target11_mc._y;
quest42_mc.swapDepths(getNextHighestDepth());
quest42_mc._x = target2_mc._x;
quest42_mc._y = target2_mc._y;
quest43_mc.swapDepths(getNextHighestDepth());
quest43_mc._x = target33_mc._x;
quest43_mc._y = target33_mc._y;
quest31_mc._visible = false;
quest33_mc._visible = false;
quest31_mc._visible = false;
oops_guy3_mc._visible = false;
next4_mc.swapDepths(getNextHighestDepth());
}
else
{
oops_guy3_mc.swapDepths(getNextHighestDepth());
}
};
this.quest31_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest32_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest33_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest31_mc.onRelease = function()
{
this.stopDrag();
};
this.quest33_mc.onRelease = function()
{
this.stopDrag();
};
this.quest32_mc.onRelease = function()
{
this.stopDrag();
if(this.hitTest(target3_mc) == true)
{
this._x = target3_mc._x;
this._y = target3_mc._y;
soundApplause1.start();
this.enabled = false;
oops_guy3_mc._visible = false;
}
else
{
soundMournfultrumpet.start();
quest32_mc._y = target2_mc._y;
quest32_mc._x = target2_mc._x;
}
};
this.quest33_mc.onRelease = function()
{
this.stopDrag();
soundMournfultrumpet.start();
this._x = target33_mc._x;
this._y = target33_mc._y;
};
this.quest31_mc.onRelease = function()
{
this.stopDrag();
soundSlowbomb.start();
this._x = target11_mc._x;
this._y = target11_mc._y;
};
this.next3_mc.onRelease = function()
{
if(quest32_mc._y == target3_mc._y && quest32_mc._x == target3_mc._x)
{
word3_mc._visible = false;
word4_mc.swapDepths(word3_mc);
quest41_mc.swapDepths(getNextHighestDepth());
quest41_mc._x = target11_mc._x;
quest41_mc._y = target11_mc._y;
quest42_mc.swapDepths(getNextHighestDepth());
quest42_mc._x = target2_mc._x;
quest42_mc._y = target2_mc._y;
quest43_mc.swapDepths(getNextHighestDepth());
quest43_mc._x = target33_mc._x;
quest43_mc._y = target33_mc._y;
quest31_mc._visible = false;
quest33_mc._visible = false;
quest31_mc._visible = false;
oops_guy3_mc._visible = false;
next4_mc.swapDepths(getNextHighestDepth());
}
else
{
oops_guy3_mc.swapDepths(getNextHighestDepth());
}
};
this.quest41_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest42_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest43_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest41_mc.onRelease = function()
{
this.stopDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest43_mc.onRelease = function()
{
this.stopDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest42_mc.onRelease = function()
{
this.stopDrag();
this.swapDepths(this.getNextHighestDepth());
if(this.hitTest(target4_mc) == true)
{
this._x = target4_mc._x;
this._y = target4_mc._y;
soundTrumpet.start();
this.enabled = false;
oops_guy4_mc._visible = false;
}
else
{
soundMournfultrumpet.start();
quest42_mc._y = target2_mc._y;
quest42_mc._x = target2_mc._x;
}
};
this.quest43_mc.onRelease = function()
{
this.stopDrag();
soundBuoing.start();
this._x = target33_mc._x;
this._y = target33_mc._y;
};
this.quest41_mc.onRelease = function()
{
this.stopDrag();
soundBuzzer.start();
this._x = target11_mc._x;
this._y = target11_mc._y;
};
this.next4_mc.onRelease = function()
{
if(quest42_mc._y == target4_mc._y && quest42_mc._x == target4_mc._x)
{
word4_mc._visible = false;
word5_mc.swapDepths(word4_mc);
quest51_mc.swapDepths(getNextHighestDepth());
quest51_mc._x = target11_mc._x;
quest51_mc._y = target11_mc._y;
quest52_mc.swapDepths(getNextHighestDepth());
quest52_mc._x = target2_mc._x;
quest52_mc._y = target2_mc._y;
quest53_mc.swapDepths(getNextHighestDepth());
quest53_mc._x = target33_mc._x;
quest53_mc._y = target33_mc._y;
quest31_mc._visible = false;
quest43_mc._visible = false;
quest41_mc._visible = false;
oops_guy4_mc._visible = false;
next5_mc.swapDepths(getNextHighestDepth());
}
else
{
oops_guy4_mc.swapDepths(getNextHighestDepth());
}
};
this.quest51_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest52_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest53_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest52_mc.onRelease = function()
{
this.stopDrag();
};
this.quest53_mc.onRelease = function()
{
this.stopDrag();
};
this.quest51_mc.onRelease = function()
{
this.stopDrag();
if(this.hitTest(target5_mc) == true)
{
this._x = target5_mc._x;
this._y = target5_mc._y;
soundCheering1.start();
this.enabled = false;
oops_guy5_mc._visible = false;
}
else
{
soundMournfultrumpet.start();
quest51_mc._y = target11_mc._y;
quest51_mc._x = target11_mc._x;
}
};
this.quest53_mc.onRelease = function()
{
this.stopDrag();
soundCrash1.start();
this._x = target33_mc._x;
this._y = target33_mc._y;
};
this.quest52_mc.onRelease = function()
{
this.stopDrag();
soundCrash2.start();
this._x = target2_mc._x;
this._y = target2_mc._y;
};
this.next5_mc.onRelease = function()
{
if(quest51_mc._y == target5_mc._y && quest51_mc._x == target5_mc._x)
{
word5_mc._visible = false;
word6_mc.swapDepths(word5_mc);
quest61_mc.swapDepths(getNextHighestDepth());
quest61_mc._x = target11_mc._x;
quest61_mc._y = target11_mc._y;
quest62_mc.swapDepths(getNextHighestDepth());
quest62_mc._x = target2_mc._x;
quest62_mc._y = target2_mc._y;
quest63_mc.swapDepths(getNextHighestDepth());
quest63_mc._x = target33_mc._x;
quest63_mc._y = target33_mc._y;
quest31_mc._visible = false;
quest53_mc._visible = false;
quest52_mc._visible = false;
oops_guy5_mc._visible = false;
next6_mc.swapDepths(getNextHighestDepth());
}
else
{
oops_guy5_mc.swapDepths(getNextHighestDepth());
}
};
this.quest61_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest62_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest63_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest61_mc.onRelease = function()
{
this.stopDrag();
};
this.quest62_mc.onRelease = function()
{
this.stopDrag();
};
this.quest63_mc.onRelease = function()
{
this.stopDrag();
if(this.hitTest(target6_mc) == true)
{
this._x = target6_mc._x;
this._y = target6_mc._y;
soundApplause2.start();
this.enabled = false;
oops_guy6_mc._visible = false;
}
else
{
soundMournfultrumpet.start();
quest63_mc._y = target33_mc._y;
quest63_mc._x = target33_mc._x;
}
};
this.quest61_mc.onRelease = function()
{
this.stopDrag();
soundCrash3.start();
this._x = target11_mc._x;
this._y = target11_mc._y;
};
this.quest62_mc.onRelease = function()
{
this.stopDrag();
soundCrash4.start();
this._x = target2_mc._x;
this._y = target2_mc._y;
};
this.next6_mc.onRelease = function()
{
if(quest63_mc._y == target6_mc._y && quest63_mc._x == target6_mc._x)
{
word6_mc._visible = false;
word7_mc.swapDepths(word6_mc);
quest71_mc.swapDepths(getNextHighestDepth());
quest71_mc._x = target11_mc._x;
quest71_mc._y = target11_mc._y;
quest72_mc.swapDepths(getNextHighestDepth());
quest72_mc._x = target2_mc._x;
quest72_mc._y = target2_mc._y;
quest73_mc.swapDepths(getNextHighestDepth());
quest73_mc._x = target33_mc._x;
quest73_mc._y = target33_mc._y;
quest61_mc._visible = false;
quest63_mc._visible = true;
quest62_mc._visible = false;
oops_guy6_mc._visible = false;
next7_mc.swapDepths(getNextHighestDepth());
}
else
{
oops_guy6_mc.swapDepths(getNextHighestDepth());
}
};
this.quest71_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest72_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest73_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest72_mc.onRelease = function()
{
this.stopDrag();
};
this.quest73_mc.onRelease = function()
{
this.stopDrag();
};
this.quest71_mc.onRelease = function()
{
this.stopDrag();
if(this.hitTest(target7_mc) == true)
{
this._x = target7_mc._x;
this._y = target7_mc._y;
soundCheerchime.start();
this.enabled = false;
oops_guy7_mc._visible = false;
}
else
{
soundMournfultrumpet.start();
quest71_mc._y = target11_mc._y;
quest71_mc._x = target11_mc._x;
}
};
this.quest73_mc.onRelease = function()
{
this.stopDrag();
soundZaparoo.start();
this._x = target33_mc._x;
this._y = target33_mc._y;
};
this.quest72_mc.onRelease = function()
{
this.stopDrag();
soundDingbleep.start();
this._x = target2_mc._x;
this._y = target2_mc._y;
};
this.next7_mc.onRelease = function()
{
if(quest71_mc._y == target7_mc._y && quest71_mc._x == target7_mc._x)
{
word7_mc._visible = false;
word8_mc.swapDepths(word7_mc);
quest81_mc.swapDepths(getNextHighestDepth());
quest81_mc._x = target11_mc._x;
quest81_mc._y = target11_mc._y;
quest82_mc.swapDepths(getNextHighestDepth());
quest82_mc._x = target2_mc._x;
quest82_mc._y = target2_mc._y;
quest83_mc.swapDepths(getNextHighestDepth());
quest83_mc._x = target33_mc._x;
quest83_mc._y = target33_mc._y;
quest71_mc._visible = true;
quest73_mc._visible = false;
quest72_mc._visible = false;
oops_guy7_mc._visible = false;
next8_mc.swapDepths(getNextHighestDepth());
Selection.setFocus(eight_txt);
}
else
{
oops_guy7_mc.swapDepths(getNextHighestDepth());
}
};
this.next8_mc.onRelease = function()
{
if(eight_txt.text == "of")
{
word8_mc._visible = false;
word9_mc.swapDepths(word8_mc);
quest91_mc.swapDepths(getNextHighestDepth());
quest91_mc._x = target11_mc._x;
quest91_mc._y = target11_mc._y;
quest92_mc.swapDepths(getNextHighestDepth());
quest92_mc._x = target2_mc._x;
quest92_mc._y = target2_mc._y;
quest93_mc.swapDepths(getNextHighestDepth());
quest93_mc._x = target33_mc._x;
quest93_mc._y = target33_mc._y;
oops_guy8_mc._visible = false;
cover82_mc._visible = false;
board2mc.swapDepths(board3mc);
next8_mc._visible = false;
soundTada.start();
next9_mc.swapDepths(getNextHighestDepth());
}
else if(eight_txt.text == " of")
{
word8_mc._visible = false;
word9_mc.swapDepths(word8_mc);
quest91_mc.swapDepths(getNextHighestDepth());
quest91_mc._x = target11_mc._x;
quest91_mc._y = target11_mc._y;
quest92_mc.swapDepths(getNextHighestDepth());
quest92_mc._x = target2_mc._x;
quest92_mc._y = target2_mc._y;
quest93_mc.swapDepths(getNextHighestDepth());
quest93_mc._x = target33_mc._x;
quest93_mc._y = target33_mc._y;
oops_guy8_mc._visible = false;
cover82_mc._visible = false;
board2mc.swapDepths(board3mc);
next8_mc._visible = false;
soundTada.start();
next9_mc.swapDepths(getNextHighestDepth());
}
else if(eight_txt.text == " of ")
{
word8_mc._visible = false;
word9_mc.swapDepths(word8_mc);
quest91_mc.swapDepths(getNextHighestDepth());
quest91_mc._x = target11_mc._x;
quest91_mc._y = target11_mc._y;
quest92_mc.swapDepths(getNextHighestDepth());
quest92_mc._x = target2_mc._x;
quest92_mc._y = target2_mc._y;
quest93_mc.swapDepths(getNextHighestDepth());
quest93_mc._x = target33_mc._x;
quest93_mc._y = target33_mc._y;
oops_guy8_mc._visible = false;
cover82_mc._visible = false;
board2mc.swapDepths(board3mc);
next8_mc._visible = false;
soundTada.start();
next9_mc.swapDepths(getNextHighestDepth());
}
else if(eight_txt.text == "of ")
{
word8_mc._visible = false;
word9_mc.swapDepths(word8_mc);
quest91_mc.swapDepths(getNextHighestDepth());
quest91_mc._x = target11_mc._x;
quest91_mc._y = target11_mc._y;
quest92_mc.swapDepths(getNextHighestDepth());
quest92_mc._x = target2_mc._x;
quest92_mc._y = target2_mc._y;
quest93_mc.swapDepths(getNextHighestDepth());
quest93_mc._x = target33_mc._x;
quest93_mc._y = target33_mc._y;
oops_guy8_mc._visible = false;
cover82_mc._visible = false;
board2mc.swapDepths(board3mc);
next8_mc._visible = false;
soundTada.start();
next9_mc.swapDepths(getNextHighestDepth());
}
else
{
oops_guy8_mc.swapDepths(getNextHighestDepth());
}
};
this.quest91_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest92_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest93_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest92_mc.onRelease = function()
{
this.stopDrag();
};
this.quest93_mc.onRelease = function()
{
this.stopDrag();
};
this.quest92_mc.onRelease = function()
{
this.stopDrag();
if(this.hitTest(target9_mc) == true)
{
this._x = target9_mc._x;
this._y = target9_mc._y;
soundCheering2.start();
this.enabled = false;
oops_guy9_mc._visible = false;
quest92b_mc.swapDepths(getNextHighestDepth());
quest92b_mc._y = target9b_mc._y;
quest92b_mc._x = target9b_mc._x;
}
else
{
soundMournfultrumpet.start();
quest92_mc._y = target2_mc._y;
quest92_mc._x = target2_mc._x;
}
};
this.quest93_mc.onRelease = function()
{
this.stopDrag();
soundBuoing.start();
this._x = target33_mc._x;
this._y = target33_mc._y;
};
this.quest91_mc.onRelease = function()
{
this.stopDrag();
soundBuzzer.start();
this._x = target11_mc._x;
this._y = target11_mc._y;
};
this.next9_mc.onRelease = function()
{
if(quest92_mc._y == target9_mc._y && quest92_mc._x == target9_mc._x)
{
word9_mc._visible = false;
word10_mc.swapDepths(word9_mc);
quest92_mc._visible = true;
quest91_mc._visible = false;
quest93_mc._visible = false;
oops_guy9_mc._visible = false;
next10_mc.swapDepths(getNextHighestDepth());
Selection.setFocus(word10_txt);
}
else
{
oops_guy9_mc.swapDepths(getNextHighestDepth());
}
};
this.next10_mc.onRelease = function()
{
if(word10_txt.text == "Christian")
{
word11_mc.swapDepths(word10_mc);
quest11a_mc.swapDepths(getNextHighestDepth());
quest11a_mc._x = target11_mc._x;
quest11a_mc._y = target11_mc._y;
quest11b_mc.swapDepths(getNextHighestDepth());
quest11b_mc._x = target2_mc._x;
quest11b_mc._y = target2_mc._y;
quest11c_mc.swapDepths(getNextHighestDepth());
quest11c_mc._x = target33_mc._x;
quest11c_mc._y = target33_mc._y;
oops_guy10_mc._visible = false;
cover92_mc._visible = false;
board4mc.swapDepths(board3mc);
next10_mc._visible = false;
soundCheerchime.start();
next11_mc.swapDepths(getNextHighestDepth());
}
else if(word10_txt.text == " Christian")
{
word11_mc.swapDepths(word10_mc);
quest11a_mc.swapDepths(getNextHighestDepth());
quest11a_mc._x = target11_mc._x;
quest11a_mc._y = target11_mc._y;
quest11b_mc.swapDepths(getNextHighestDepth());
quest11b_mc._x = target2_mc._x;
quest11b_mc._y = target2_mc._y;
quest11c_mc.swapDepths(getNextHighestDepth());
quest11c_mc._x = target33_mc._x;
quest11c_mc._y = target33_mc._y;
oops_guy10_mc._visible = false;
cover92_mc._visible = false;
board4mc.swapDepths(board3mc);
next10_mc._visible = false;
soundCheerchime.start();
next11_mc.swapDepths(getNextHighestDepth());
}
else if(word10_txt.text == "Christian ")
{
word11_mc.swapDepths(word10_mc);
quest11a_mc.swapDepths(getNextHighestDepth());
quest11a_mc._x = target11_mc._x;
quest11a_mc._y = target11_mc._y;
quest11b_mc.swapDepths(getNextHighestDepth());
quest11b_mc._x = target2_mc._x;
quest11b_mc._y = target2_mc._y;
quest11c_mc.swapDepths(getNextHighestDepth());
quest11c_mc._x = target33_mc._x;
quest11c_mc._y = target33_mc._y;
oops_guy10_mc._visible = false;
cover92_mc._visible = false;
board4mc.swapDepths(board3mc);
next10_mc._visible = false;
soundCheerchime.start();
next11_mc.swapDepths(getNextHighestDepth());
}
else if(word10_txt.text == " Christian ")
{
word11_mc.swapDepths(word10_mc);
quest11a_mc.swapDepths(getNextHighestDepth());
quest11a_mc._x = target11_mc._x;
quest11a_mc._y = target11_mc._y;
quest11b_mc.swapDepths(getNextHighestDepth());
quest11b_mc._x = target2_mc._x;
quest11b_mc._y = target2_mc._y;
quest11c_mc.swapDepths(getNextHighestDepth());
quest11c_mc._x = target33_mc._x;
quest11c_mc._y = target33_mc._y;
oops_guy10_mc._visible = false;
cover92_mc._visible = false;
board4mc.swapDepths(board3mc);
next10_mc._visible = false;
soundCheerchime.start();
next11_mc.swapDepths(getNextHighestDepth());
}
else
{
oops_guy10_mc.swapDepths(getNextHighestDepth());
}
};
this.quest11a_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest11b_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest11c_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest11a_mc.onRelease = function()
{
this.stopDrag();
};
this.quest11c_mc.onRelease = function()
{
this.stopDrag();
};
this.quest11b_mc.onRelease = function()
{
this.stopDrag();
if(this.hitTest(target11d_mc) == true)
{
this._x = target11d_mc._x;
this._y = target11d_mc._y;
soundTada.start();
this.enabled = false;
oops_guy11_mc._visible = false;
}
else
{
soundMournfultrumpet.start();
quest11b_mc._y = target2_mc._y;
quest11b_mc._x = target2_mc._x;
}
};
this.quest11c_mc.onRelease = function()
{
this.stopDrag();
soundMournfultrumpet.start();
this._x = target33_mc._x;
this._y = target33_mc._y;
};
this.quest11a_mc.onRelease = function()
{
this.stopDrag();
soundCrash4.start();
this._x = target11_mc._x;
this._y = target11_mc._y;
};
this.next11_mc.onRelease = function()
{
if(quest11b_mc._y == target11d_mc._y && quest11b_mc._x == target11d_mc._x)
{
quest11a_mc._visible = false;
quest11c_mc._visible = false;
word11_mc._visible = false;
word12_mc.swapDepths(word11_mc);
oops_guy11_mc._visible = false;
next12_mc.swapDepths(getNextHighestDepth());
Selection.setFocus(word12_txt);
}
else
{
oops_guy11_mc.swapDepths(getNextHighestDepth());
}
};
this.next12_mc.onRelease = function()
{
if(word12_txt.text == "at")
{
word12_mc.swapDepths(word13_mc);
cover12_mc._visible = false;
Selection.setFocus(word13_txt);
oops_guy12_mc._visible = false;
board5mc.swapDepths(board4mc);
next12_mc._visible = false;
soundTada.start();
next13_mc.swapDepths(getNextHighestDepth());
}
else if(word12_txt.text == " at")
{
word12_mc.swapDepths(word13_mc);
cover12_mc._visible = false;
Selection.setFocus(word13_txt);
oops_guy12_mc._visible = false;
board5mc.swapDepths(board4mc);
next12_mc._visible = false;
soundTada.start();
next13_mc.swapDepths(getNextHighestDepth());
}
else if(word12_txt.text == "at ")
{
word12_mc.swapDepths(word13_mc);
cover12_mc._visible = false;
Selection.setFocus(word13_txt);
oops_guy12_mc._visible = false;
board5mc.swapDepths(board4mc);
next12_mc._visible = false;
soundTada.start();
next13_mc.swapDepths(getNextHighestDepth());
}
else if(word12_txt.text == " at ")
{
word12_mc.swapDepths(word13_mc);
cover12_mc._visible = false;
Selection.setFocus(word13_txt);
oops_guy12_mc._visible = false;
board5mc.swapDepths(board4mc);
next12_mc._visible = false;
soundTada.start();
next13_mc.swapDepths(getNextHighestDepth());
}
else
{
oops_guy12_mc.swapDepths(getNextHighestDepth());
}
};
this.next13_mc.onRelease = function()
{
if(word13_txt.text == "Mass")
{
word13_mc.swapDepths(word14_mc);
cover13_mc._visible = false;
quest14a_mc.swapDepths(getNextHighestDepth());
quest14a_mc._x = target11_mc._x;
quest14a_mc._y = target11_mc._y;
quest14b_mc.swapDepths(getNextHighestDepth());
quest14b_mc._x = target2_mc._x;
quest14b_mc._y = target2_mc._y;
quest14c_mc.swapDepths(getNextHighestDepth());
quest14c_mc._x = target33_mc._x;
quest14c_mc._y = target33_mc._y;
oops_guy13_mc._visible = false;
board6mc.swapDepths(board5mc);
next13_mc._visible = false;
soundTrumpet.start();
next14_mc.swapDepths(getNextHighestDepth());
}
else if(word13_txt.text == " Mass")
{
word13_mc.swapDepths(word14_mc);
cover13_mc._visible = false;
quest14a_mc.swapDepths(getNextHighestDepth());
quest14a_mc._x = target11_mc._x;
quest14a_mc._y = target11_mc._y;
quest14b_mc.swapDepths(getNextHighestDepth());
quest14b_mc._x = target2_mc._x;
quest14b_mc._y = target2_mc._y;
quest14c_mc.swapDepths(getNextHighestDepth());
quest14c_mc._x = target33_mc._x;
quest14c_mc._y = target33_mc._y;
oops_guy13_mc._visible = false;
board6mc.swapDepths(board5mc);
next13_mc._visible = false;
soundTrumpet.start();
next14_mc.swapDepths(getNextHighestDepth());
}
else if(word13_txt.text == "Mass ")
{
word13_mc.swapDepths(word14_mc);
cover13_mc._visible = false;
quest14a_mc.swapDepths(getNextHighestDepth());
quest14a_mc._x = target11_mc._x;
quest14a_mc._y = target11_mc._y;
quest14b_mc.swapDepths(getNextHighestDepth());
quest14b_mc._x = target2_mc._x;
quest14b_mc._y = target2_mc._y;
quest14c_mc.swapDepths(getNextHighestDepth());
quest14c_mc._x = target33_mc._x;
quest14c_mc._y = target33_mc._y;
oops_guy13_mc._visible = false;
board6mc.swapDepths(board5mc);
next13_mc._visible = false;
soundTrumpet.start();
next14_mc.swapDepths(getNextHighestDepth());
}
else if(word13_txt.text == " Mass ")
{
word13_mc.swapDepths(word14_mc);
cover13_mc._visible = false;
quest14a_mc.swapDepths(getNextHighestDepth());
quest14a_mc._x = target11_mc._x;
quest14a_mc._y = target11_mc._y;
quest14b_mc.swapDepths(getNextHighestDepth());
quest14b_mc._x = target2_mc._x;
quest14b_mc._y = target2_mc._y;
quest14c_mc.swapDepths(getNextHighestDepth());
quest14c_mc._x = target33_mc._x;
quest14c_mc._y = target33_mc._y;
oops_guy13_mc._visible = false;
board6mc.swapDepths(board5mc);
next13_mc._visible = false;
soundTrumpet.start();
next14_mc.swapDepths(getNextHighestDepth());
}
else
{
oops_guy13_mc.swapDepths(getNextHighestDepth());
}
};
this.quest14a_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest14b_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest14c_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest14a_mc.onRelease = function()
{
this.stopDrag();
};
this.quest14c_mc.onRelease = function()
{
this.stopDrag();
};
this.quest14b_mc.onRelease = function()
{
this.stopDrag();
if(this.hitTest(target14d_mc) == true)
{
this._x = target14d_mc._x;
this._y = target14d_mc._y;
soundApplause1.start();
this.enabled = false;
oops_guy14_mc._visible = false;
}
else
{
soundMournfultrumpet.start();
quest14b_mc._y = target2_mc._y;
quest14b_mc._x = target2_mc._x;
}
};
this.quest14c_mc.onRelease = function()
{
this.stopDrag();
soundCrash4.start();
this._x = target33_mc._x;
this._y = target33_mc._y;
};
this.quest14a_mc.onRelease = function()
{
this.stopDrag();
soundAhh.start();
this._x = target11_mc._x;
this._y = target11_mc._y;
};
this.next14_mc.onRelease = function()
{
if(quest14b_mc._y == target14d_mc._y && quest14b_mc._x == target14d_mc._x)
{
quest14a_mc._visible = false;
quest14c_mc._visible = false;
word14_mc._visible = false;
word15_mc.swapDepths(word14_mc);
oops_guy14_mc._visible = false;
next15_mc.swapDepths(getNextHighestDepth());
Selection.setFocus(word15_txt);
}
else
{
oops_guy14_mc.swapDepths(getNextHighestDepth());
}
};
this.next15_mc.onRelease = function()
{
if(word15_txt.text == "Sunday")
{
word16_mc.swapDepths(word15_mc);
cover15_mc._visible = false;
quest16a_mc.swapDepths(getNextHighestDepth());
quest16a_mc._x = target11_mc._x;
quest16a_mc._y = target11_mc._y;
quest16b_mc.swapDepths(getNextHighestDepth());
quest16b_mc._x = target2_mc._x;
quest16b_mc._y = target2_mc._y;
quest16c_mc.swapDepths(getNextHighestDepth());
quest16c_mc._x = target33_mc._x;
quest16c_mc._y = target33_mc._y;
oops_guy15_mc._visible = false;
board7mc.swapDepths(board6mc);
next15_mc._visible = false;
soundTada.start();
next16_mc.swapDepths(getNextHighestDepth());
}
else if(word15_txt.text == " Sunday")
{
word16_mc.swapDepths(word15_mc);
cover15_mc._visible = false;
quest16a_mc.swapDepths(getNextHighestDepth());
quest16a_mc._x = target11_mc._x;
quest16a_mc._y = target11_mc._y;
quest16b_mc.swapDepths(getNextHighestDepth());
quest16b_mc._x = target2_mc._x;
quest16b_mc._y = target2_mc._y;
quest16c_mc.swapDepths(getNextHighestDepth());
quest16c_mc._x = target33_mc._x;
quest16c_mc._y = target33_mc._y;
oops_guy15_mc._visible = false;
board7mc.swapDepths(board6mc);
next15_mc._visible = false;
soundTada.start();
next16_mc.swapDepths(getNextHighestDepth());
}
else if(word15_txt.text == " Sunday ")
{
word16_mc.swapDepths(word15_mc);
cover15_mc._visible = false;
quest16a_mc.swapDepths(getNextHighestDepth());
quest16a_mc._x = target11_mc._x;
quest16a_mc._y = target11_mc._y;
quest16b_mc.swapDepths(getNextHighestDepth());
quest16b_mc._x = target2_mc._x;
quest16b_mc._y = target2_mc._y;
quest16c_mc.swapDepths(getNextHighestDepth());
quest16c_mc._x = target33_mc._x;
quest16c_mc._y = target33_mc._y;
oops_guy15_mc._visible = false;
board7mc.swapDepths(board6mc);
next15_mc._visible = false;
soundTada.start();
next16_mc.swapDepths(getNextHighestDepth());
}
else if(word15_txt.text == "Sunday ")
{
word16_mc.swapDepths(word15_mc);
cover15_mc._visible = false;
quest16a_mc.swapDepths(getNextHighestDepth());
quest16a_mc._x = target11_mc._x;
quest16a_mc._y = target11_mc._y;
quest16b_mc.swapDepths(getNextHighestDepth());
quest16b_mc._x = target2_mc._x;
quest16b_mc._y = target2_mc._y;
quest16c_mc.swapDepths(getNextHighestDepth());
quest16c_mc._x = target33_mc._x;
quest16c_mc._y = target33_mc._y;
oops_guy15_mc._visible = false;
board7mc.swapDepths(board6mc);
next15_mc._visible = false;
soundTada.start();
next16_mc.swapDepths(getNextHighestDepth());
}
else
{
oops_guy15_mc.swapDepths(getNextHighestDepth());
}
};
this.quest16a_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest16b_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest16c_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest16a_mc.onRelease = function()
{
this.stopDrag();
};
this.quest16c_mc.onRelease = function()
{
this.stopDrag();
};
this.quest16b_mc.onRelease = function()
{
this.stopDrag();
if(this.hitTest(target16d_mc) == true)
{
this._x = target16d_mc._x;
this._y = target16d_mc._y;
soundCheering1.start();
this.enabled = false;
oops_guy16_mc._visible = false;
}
else
{
soundMournfultrumpet.start();
quest16b_mc._y = target2_mc._y;
quest16b_mc._x = target2_mc._x;
}
};
this.quest16c_mc.onRelease = function()
{
this.stopDrag();
soundSlowbomb.start();
this._x = target33_mc._x;
this._y = target33_mc._y;
};
this.quest16a_mc.onRelease = function()
{
this.stopDrag();
soundZaparoo.start();
this._x = target11_mc._x;
this._y = target11_mc._y;
};
this.next16_mc.onRelease = function()
{
if(quest16b_mc._y == target16d_mc._y && quest16b_mc._x == target16d_mc._x)
{
word17_mc.swapDepths(word16_mc);
quest17a_mc.swapDepths(getNextHighestDepth());
quest17a_mc._x = target11_mc._x;
quest17a_mc._y = target11_mc._y;
quest17b_mc.swapDepths(getNextHighestDepth());
quest17b_mc._x = target2_mc._x;
quest17b_mc._y = target2_mc._y;
quest17c_mc.swapDepths(getNextHighestDepth());
quest17c_mc._x = target33_mc._x;
quest17c_mc._y = target33_mc._y;
quest16a_mc._visible = false;
quest16c_mc._visible = false;
oops_guy16_mc._visible = false;
next17_mc.swapDepths(getNextHighestDepth());
next17_mc._visible = true;
}
else
{
oops_guy16_mc.swapDepths(getNextHighestDepth());
}
};
this.quest17a_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest17b_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest17c_mc.onPress = function()
{
this.startDrag();
this.swapDepths(this.getNextHighestDepth());
};
this.quest17a_mc.onRelease = function()
{
this.stopDrag();
};
this.quest17b_mc.onRelease = function()
{
this.stopDrag();
};
this.quest17c_mc.onRelease = function()
{
this.stopDrag();
if(this.hitTest(target17_mc) == true)
{
this._x = target17_mc._x;
this._y = target17_mc._y;
soundApplause2.start();
this.enabled = false;
oopsguy_17mc._visible = false;
next17_mc._visible = true;
}
else
{
soundMournfultrumpet.start();
quest17c_mc._y = target33_mc._y;
quest17c_mc._x = target33_mc._x;
}
};
this.quest17b_mc.onRelease = function()
{
this.stopDrag();
soundDingbleep.start();
this._x = target2_mc._x;
this._y = target2_mc._y;
};
this.quest17a_mc.onRelease = function()
{
this.stopDrag();
soundAhh.start();
this._x = target11_mc._x;
this._y = target11_mc._y;
};
this.next17_mc.onRelease = function()
{
if(quest17c_mc._y == target17_mc._y && quest17c_mc._x == target17_mc._x)
{
gotoAndStop(3);
certificate_mc.swapDepths(quest17c_mc);
nameStatic = name + ",";
oopsguy_17mc._visible = false;
quest63_mc._visible = false;
quest32_mc._visible = false;
quest51_mc._visible = false;
quest16b_mc._visible = false;
quest17c_mc._visible = false;
quest92_mc._visible = false;
quest92b_mc._visible = false;
quest71_mc._visible = false;
word17_mc._visible = false;
quest11b_mc._visible = false;
word17_mc._visible = false;
deer_mc._visible = false;
quest17b_mc._visible = false;
quest17a_mc._visible = false;
quest42_mc._visible = false;
next17_mc._visible = false;
quest14b_mc._visible = false;
print_mc.swapDepths(getNextHighestDepth());
next16_mc._visible = false;
next15_mc._visible = false;
next14_mc._visible = false;
next13_mc._visible = false;
next12_mc._visible = false;
next11_mc._visible = false;
next10_mc._visible = false;
next9_mc._visible = false;
next8_mc._visible = false;
next7_mc._visible = false;
next6_mc._visible = false;
next5_mc._visible = false;
next4_mc._visible = false;
next3_mc._visible = false;
next2_mc._visible = false;
next1_mc._visible = false;
next_mc._visible = false;
}
else
{
oopsguy_17mc.swapDepths(getNextHighestDepth());
}
};